<?php
class Sprint extends ProcessingDate{

	protected $id;
    protected $idTeam;
    protected $idProject;
    protected $idUserCreator;
    protected $order;
	protected $dateBegin;
	protected $dateEnd;
	protected $status;
	protected $date;

	//Propriedades Extras
	protected $completeDateInit;
	protected $completeDateEnd;
	protected $tasks;
	protected $fieldsDBObj;
	protected $fieldsDB;

	function __construct(){
		$this->fieldsDB['id']			= "id_sprint";
		$this->fieldsDB['idTeam']		= "id_equipe";
		$this->fieldsDB['idProject']	= "id_projeto";
		$this->fieldsDB['idUserCreator']= "id_usuario_criador";
		$this->fieldsDB['order']		= "ordem";
		$this->fieldsDB['dateBegin']	= "data_inicial";
		$this->fieldsDB['dateEnd']		= "data_final";
		$this->fieldsDB['status']		= "status";
		$this->fieldsDB['date']			= "data";
	}

	protected function setDefaultError(){
		trigger_error('Não é possível trocar o ID do projeto'); 
	}
}

?>